load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "mock",
    srcs = [
        "mock.go",
        "restricted_sql_executor_mock.go",
    ],
    importpath = "github.com/pingcap/tidb/pkg/util/sqlexec/mock",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/parser/ast",
        "//pkg/planner/core/resolve",
        "//pkg/util/chunk",
        "//pkg/util/sqlexec",
        "@org_uber_go_mock//gomock",
    ],
)
